import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home_A.vue'
// import First_B from '../views/First_B.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home,
  },
  {
    path: '/first_B',
    name: 'First_B',
    component: () => import('../views/First_B.vue'),
  },
  {
    path:'/shop_B',
    name:'Shop_B',
    component:()=> import('../views/Shop_B.vue'),
  }

]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
